#ifndef ANIMATIONLISTENER_H_
#define ANIMATIONLISTENER_H_

#include <Ogre.h>
#include <OIS/OIS.h>

class AnimationListener : public Ogre::FrameListener
{
	private:
		Ogre::AnimationState *mAnimationState;
		OIS::Keyboard *mKeyboard;
		Ogre::Entity *mEnt;
		Ogre::SceneNode *mSceneNode;

	public:
		AnimationListener(Ogre::AnimationState *animationState, OIS::Keyboard *keyboard, Ogre::Entity *ent, Ogre::SceneNode* sceneNode);
		bool frameStarted(const Ogre::FrameEvent &evt);
		virtual ~AnimationListener();
};

#endif
